package com.wwz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@TableName("pe_permission_api")
@ApiModel("api权限")
public class PermissionApi implements Serializable {

    private static final long serialVersionUID = -1803315043290784820L;

    @Id
    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("api链接")
    private String apiUrl;

    @ApiModelProperty("请求类型")
    private String apiMethod;

    @ApiModelProperty("权限等级，1为通用接口权限，2为需校验接口权限")
    private String apiLevel;
}